
/* @group 
    Toolbarbutton 
*/
#aios-toolbar[orient="vertical"] toolbarbutton {
    margin: 2px 1px;
    padding-top: 2px;
    padding-bottom: 2px;
}


/** Toolbarbutton mit Dropmarker */
#aios-toolbar[orient="vertical"] toolbarbutton toolbarbutton {
    margin: 0px;
}

#aios-toolbar[orient="vertical"][iconsize="small"] .toolbarbutton-icon {
    margin: 1px;
}

#aios-toolbar[orient="vertical"] toolbarseparator,
#aios-toolbar[orient="vertical"] toolbarpaletteitem[id^="wrapper-separator"] {
    margin: 4px 2px 2px 2px;
}

#aios-sbhtoolbar[iconsize="small"] toolbarbutton {
    padding: 1px 2px;
}

/* @group 
    Firefox-Standard-Theme 
*/
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 {
    -moz-appearance: none;
    padding: 1px 5px;
    background: rgba(151,152,153,.05) -moz-linear-gradient(rgba(251,252,253,.95), rgba(246,247,248,.47) 49%, rgba(231,232,233,.45) 51%, rgba(225,226,229,.3));
    background-clip: padding-box;
    border-radius: 4.5px;
    border: 1px solid;
    border-color: rgba(0,0,0,.12) rgba(0,0,0,.19) rgba(0,0,0,.38);
    box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 0 0 2px rgba(255,255,255,.1) inset, 0 1px 0 rgba(0,0,0,.15);
    color: black;
    text-shadow: 0 0 2px white;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
window[aios_appDefTheme="true"] .aios-nav-bar[iconsize="small"][mode="icons"] .toolbarbutton-1 > .toolbarbutton-menubutton-button,
window[aios_appDefTheme="true"] .aios-nav-bar[iconsize="small"][mode="icons"] .toolbarbutton-1 {
    padding-left: 3px;
    padding-right: 3px;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[type="menu-button"] {
    -moz-appearance: none;
    padding: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 {
    margin: 1px 3px;
}

window[aios_appDefTheme="true"] .aios-nav-bar[iconsize="small"][mode="icons"] .toolbarbutton-1 {
    margin-left: 2px;
    margin-right: 2px;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
    -moz-border-start-style: none;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(ltr),
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(rtl) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:-moz-locale-dir(rtl),
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-locale-dir(ltr) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[disabled="true"] {
    opacity: .8;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[disabled="true"] > .toolbarbutton-icon {
    opacity: .5;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled="true"]):not(:active):hover,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1:not([open="true"]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled="true"]),
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1:not([type="menu-button"]):not([disabled="true"]):not([checked="true"]):not([open="true"]):not(:active):hover {
    background-color: hsla(190,60%,70%,.5);
    border-color: hsla(190,50%,65%,.8) hsla(190,50%,50%,.8) hsla(190,50%,40%,.8);
    box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 0 0 1.5px rgba(255,255,255,.1) inset, 0 1px 0 rgba(0,0,0,.1), 0 0 3.5px hsl(190,90%,80%);
    -moz-transition: background-color .4s ease-in, border-color .3s ease-in, box-shadow .3s ease-in;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled="true"]):hover:active,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-dropmarker:not([disabled="true"]),
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-dropmarker,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1:not([type="menu-button"]):not([disabled="true"]):hover:active,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1:not([type="menu-button"])[checked="true"],
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[open="true"] {
    background-color: transparent;
    border-color: rgba(0,0,0,.65) rgba(0,0,0,.55) rgba(0,0,0,.5);
    box-shadow: 0 0 6.5px rgba(0,0,0,.4) inset, 0 0 2px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.4);
    text-shadow: none;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1[checked="true"]:not(:active):hover {
    background-color: rgba(90%,90%,90%,.4);
    -moz-transition: background-color .4s;
}

window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
window[aios_appDefTheme="true"] .aios-nav-bar .toolbarbutton-1 > .toolbarbutton-icon {
    margin: 1px;
    width: 16px;
    height: 16px;
}

/* Aktivierter Toolbarbutton (type = menu-button) */
window[aios_appDefTheme="true"] .aios-tbutton[checked="true"] .toolbarbutton-menubutton-button,
window[aios_appDefTheme="true"] .aios-tbutton[checked="true"] .toolbarbutton-menubutton-dropmarker {
    background-color: transparent !important;
    border-color: rgba(0,0,0,.65) rgba(0,0,0,.55) rgba(0,0,0,.5) !important;
    -moz-box-shadow: 0 0 9px rgba(0,0,0,.4) inset, 0 0 3px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.4) !important;
    text-shadow: none !important;
}
/* @end */
/* @end */


/* @group 
    Button-Icons 
*/
toolbarbutton.aios-tbutton:not([type="menu-button"]),
toolbarbutton.aios-tbutton[type="menu-button"] {
    list-style-image: url(icons/toolbar_windows.png);
}

/** Addons */
#addons-button {
    -moz-image-region: rect(0px, 16px, 16px, 0px);
}

/** MultiPanel */
#multipanel-button {
    -moz-image-region: rect(0px, 32px, 16px, 16px);
}

/** PageInfo */
#pageinfo-button {
    -moz-image-region: rect(0px, 48px, 16px, 32px);
}

/** Console-Button */
#console-button {
    -moz-image-region: rect(0px, 80px, 16px, 64px);
}

/** PanelTab */
#paneltab-button {
    -moz-image-region: rect(0px, 96px, 16px, 80px);
}

/** Sidebars-Menu */
#sidebars-button {
    -moz-image-region: rect(0px, 112px, 16px, 96px);
}

#sidebars-button dropmarker {
    display: none;
}

/** Sidebars */
#sidebars-togglebutton {
    -moz-image-region: rect(0px, 128px, 16px, 112px);
}

/** Autohide */
#autohide-button {
    -moz-image-region: rect(0px, 144px, 16px, 128px);
}

/** Toolbar */
#toolbar-button {
    -moz-image-region: rect(0px, 160px, 16px, 144px);
}
/* @end */


/* @group 
    Menü-Icons 
*/
menuitem[key="aiosKey_panelTab1"],
menuitem[key="aiosKey_panelTab2"],
menuitem#aios-sidebar-mitem-show,
menuitem#aios-sidebar-mitem-hide,
menuitem[key="aiosKey_prefs"] {
    list-style-image: url(icons/panels_menus.png);
}

menuitem[key="aiosKey_panelTab1"] {
    -moz-image-region: rect(16px, 16px, 32px, 0px);
}

menuitem[key="aiosKey_panelTab2"] {
    -moz-image-region: rect(16px, 32px, 32px, 16px);
}

menuitem#aios-sidebar-mitem-hide {
    -moz-image-region: rect(16px, 48px, 32px, 32px);
}

menuitem#aios-sidebar-mitem-show {
    -moz-image-region: rect(16px, 64px, 32px, 48px);
}

menuitem[key="aiosKey_prefs"] {
    -moz-image-region: rect(0px, 16px, 16px, 0px);
}
/* @end */
